import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false

import filters from './utils/filter'  //导入过滤器文件
Object.keys(filters).forEach(key=>{    //通过Object.key方法取出过滤器中导出的每个方法并挂在vue.filter上
  Vue.filter(key,filters[key])
})

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
